PDF4Java Reference Documentation
com.o2sol.pdf4java.core.io Package / MemoryStream Class / setLength Method
The desired length of the current stream in bytes.
In This Topic
    setLength Method
    In This Topic
    Sets the length of the current stream.
    Syntax
    public void setLength( 
       long value
    )

    Parameters

    value
    The desired length of the current stream in bytes.
    Exceptions
    ExceptionDescription
    If the stream is closed.
    If value is negative.
    See Also